package com.repair.service;

import com.repair.entity.User;
import com.repair.entity.RepairOrder;
import java.util.List;
import java.util.Map;

public interface AdminService {
    // 用户管理
    List<User> getAllUsers();
    void updateUserStatus(Long userId, Integer status);
    void deleteUser(Long userId);
    
    // 维修工管理
    List<User> getAllRepairmen();
    void updateRepairmanStatus(Long repairmanId, Integer status);
    void deleteRepairman(Long repairmanId);
    
    // 订单管理
    List<RepairOrder> getAllOrders();
    List<RepairOrder> getOrdersByStatus(Integer status);
    void updateOrderStatus(Long orderId, Integer status);
    void deleteOrder(Long orderId);
    
    // 数据统计
    Map<String, Object> getDashboardData();
    List<Map<String, Object>> getOrderStatistics();
    List<Map<String, Object>> getRepairmanStatistics();
} 